<?php

class Common_Chart_Factory_FromDataTable extends Common_Chart_Factory {

    private $obj_datatable = null;

    public function __construct(Common_DataTable $obj_datatable) {
        $this->setDataTable($obj_datatable);
    }

    public function setDataTable(Common_DataTable $obj_datatable) {
        return $this->obj_datatable = $obj_datatable;
    }

    public function getDataTable() {
        return $this->obj_datatable;
    }

    public function issetDataTable() {
        return !is_null($this->obj_datatable);
    }

}
